package cn.wolfcode.service;

import cn.wolfcode.domain.Business;
import cn.wolfcode.domain.SystemDictionary;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBusinessService {
    void delete(Long id);

    void save(Business business);

    Business get(Long id);

    List<Business> listAll();

    void update(Business business);

    PageInfo<Business> query(QueryObject qo);

    Business queryMainBusiness();

    List<SystemDictionary> queryBySn(String sn);
}
